#ifndef SOLDER_H
#define SOLDER_H
#include "Gun.h"

typedef struct Soldier
{
    int type;
    char name[100];
    Gun gun;
    //int (*func)(int,int); 函数指针
}Soldier;

void attack(Soldier* soldier);
void createSoldier(Soldier** soldier);
void destorySoldier(Soldier* soldier);
#endif

